import type {RouteRecordRaw} from "vue-router";

export default {
    path: '/auth',
    name: 'Auth',
    component: () => import('@/views/auth/index.vue'),
    meta: {
        title: '授权',
        requiresAuth: false
    },
    children: [
        {
            path: '/login',
            name: 'Login',
            component: () => import('@/views/auth/login.vue'),
            meta: {
                title: '登录',
                requiresAuth: false
            }
        },
        {
            path: '/register',
            name: 'Register',
            component: () => import('@/views/auth/register.vue'),
            meta: {
                title: '新用户注册',
                requiresAuth: false
            }
        },
    ],

} as RouteRecordRaw